<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>报障求助</title>
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="applicable-device" content="mobile">
	<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=yes, width=device-width">
	<meta name="format-detection" content="telephone=no" />
  <link rel="stylesheet" href="css/ui-selectbox.css">
	<link rel="stylesheet" href="css/style.css">
	<script src="js/jquery.js"></script>
	<script>
	function checkform(){
		var str=$.trim($("#searchkeywords").val()); 
		if(str.length==0){
			alert("请输入内容");
		}
		if(str.length>20){
			alert("请输入10中文字/20英文以内");
		}
		str=str.replace(/[\ |\~|\`|\!|\@|\#|\$|\%|\^|\&|\*|\(|\)|\-|\_|\+|\=|\||\\|\[|\]|\{|\}|\;|\:|\"|\'|\,|\<|\.|\>|\/|\?]/g,""); 
		$("#search").val(encodeURI(str));
		//alert($("#searchkeywords").val())
		$("#myform").submit();
		
	}
	</script>
</head>
<body>
    <div class="page">

        <header class="base-header">
          <a href="javascript:history.go(-1);" class="btn-back posa">返回</a>
        </header>
<form id="myform" name="myform" method="post" action="./fyhelp" >
<input type="hidden" id="search" name="search" value=""/>
       <div class="q-list-up"><br><br>
<div class="login-raw clearfix"><input type="text" class="txt-yzm edit-row" placeholder="请输入关键字" id="searchkeywords" name="searchkeywords" maxlength="20"><a href="javascript:checkform();" class="fr btn-yzm">搜索</a></div></div>

        <div class="q-list">
          <div class="q-header">我们将为你解决问题：</div>
          <ul>
		     	<script>
		     	var str = '<%= session.getAttribute("list") %>';
		     	//alert(str);
		     	var objArr = eval(str);
		     	for(var i in objArr) {
		     	   //console.log(objArr[i].help);
		     	   //alert(decodeURIComponent(objArr[i].help));
		     	   if(0 != objArr[i].level){
				     	  document.write("<li><a href='./fyhelpkeys?keys=" + objArr[i].number + "'>" + decodeURIComponent(objArr[i].help) + "</a></li>");
		     	   }else{
				     	  document.write("<li><a href='"+decodeURIComponent(objArr[i].helpurl)+"'>" + decodeURIComponent(objArr[i].help) + "</a></li>");
		     	   }
		     	}
		     	</script>
		    
           <li><%= session.getAttribute("returnWords") %></li>
            <!-- <li><a href="#">问题1:为未来推荐我家楼上的公路建设路口甘尽苦来给大家发送到付款了时间的浪费空间三闾大夫会计师地方？</a></li>
            <li><a href="#">问题2:为未来推荐我家楼上的公路建设路口甘尽苦地方？</a></li>
            <li><a href="#">问题3:为未来推荐我家楼上的公路建设路口甘尽师地方？</a></li>
            <li><a href="#">问题4:为未来推荐我家楼空间三闾大夫会计师地方？</a></li>
            <li><a href="#">问题5:为未来推荐我家楼上的公路建设路口甘尽浪费空间三闾大夫会计师地方？</a></li>-->
          </ul>
        </div>

        <div class="tc btn-block-two goods-confirm-btns"><br>
          <a href="./fycaption" class="btn btn-yellow">求助楼长</a>
          <a href="https://m.sh.189.cn/wap/trouble/index" class="btn btn-orange">宽带报障</a>
        </div>        
    </div>
</form>
    <!--百度数据统计-->
    <script>var _hmt = _hmt || [];(function() {var hm = document.createElement("script");hm.src="https://hm.baidu.com/hm.js24866553cf6bdd25afcd437091f96447";var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s);})();</script>

</body>
</html>